Avoid calling toString() on String objects; this is unnecessary.

<p>
  This rule is deprecated, use {rule:java:S1858} instead.
</p>
